#ifndef _5M3X_H_
#define _5M3X_H_
#include "air32f10x_conf.h"

extern const uint16_t default_scan_list_5m3x[6];
#define TEST_INTERVAL 2200
#define DELAY_OPEN_CURTAIN 714
#define TIMEOUT_5M3X 3000
#define POINT_REACHED 0x01
#define POINT_TIMEOUT 0x02
void test_5m3x(void);
uint8_t one_point_test(uint8_t id, uint16_t wait_time_ms, uint16_t time_out_ms, uint16_t how_many_light_blocked, uint16_t valid_times, uint16_t test_interval_us);
void poweron_sequence_for_5m3x();

#endif